<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class=kontakt>
<br>
<img src="images/gjob.png">
<br>
<br>
<%
HttpSession sesja = request.getSession(true);
if(sesja.getAttribute("lang").equals("en")){
	if(request.getParameter("pass")!=null && request.getParameter("pass").equals("forgot")){%>
	<h1>CONGRATULATIONS!</h1><br>
	Your password has been changed. <br> You can log in now.	
	<%}else if(request.getParameter("pass")!=null && request.getParameter("pass").equals("change")){%>
	<h1>CONGRATULATIONS!</h1><br>
	Your password has been changed. <br> 
	<%}else if(request.getParameter("acc")!=null && request.getParameter("acc").equals("change")){%>
	<h1>CONGRATULATIONS!</h1><br>
	Your account settings has been changed. <br> 
	<%}else if(request.getParameter("acc")!=null && request.getParameter("acc").equals("request")){%>
	<h1>CONGRATULATIONS!</h1><br>
	Your request has been send to system administrator. <br> 
	<%}else if(request.getParameter("main")!=null && request.getParameter("main").equals("news")){%>
	<h1>CONGRATULATIONS!</h1><br>
	Your news has been added.<br> You can see it on main page.<br> 
	<%}else if(request.getParameter("main")!=null && request.getParameter("main").equals("order") && request.getParameter("id")!=null){%>
	<h1>CONGRATULATIONS!</h1><br>
	Courier has been ordered.<br> Your order number is: <%out.write(request.getParameter("id")); %><br> 
	<%}else if(request.getParameter("main")!=null && request.getParameter("main").equals("add") && request.getParameter("id")!=null){%>
	<h1>CONGRATULATIONS!</h1><br>
	Package has been added.<br> Your order number is: <%out.write(request.getParameter("id")); %><br> 
	<%}else {%>
	<h1>CONGRATULATIONS!</h1><br>
	Your account has been made. <br> You can log in now.
<%}}else{
if(request.getParameter("pass")!=null && request.getParameter("pass").equals("forgot")){%>
	<h1>GRATULACJE!</h1><br>
	Twoje hasło zostało zmienione.<br> Możesz się teraz zalogować.	
	<%}else if(request.getParameter("pass")!=null && request.getParameter("pass").equals("change")){%>
	<h1>GRATULACJE!</h1><br>
	Twoje hasło zostało zmienione. <br> 
	<%}else if(request.getParameter("acc")!=null && request.getParameter("acc").equals("change")){%>
	<h1>GRATULACJE!</h1><br>
	Ustawienia konta zostały zmienione. <br> 
	<%}else if(request.getParameter("acc")!=null && request.getParameter("acc").equals("request")){%>
	<h1>GRATULACJE!</h1><br>
	Twoje prośba o zmianę ustawień została wysłana do administratora. <br> 
	<%}else if(request.getParameter("main")!=null && request.getParameter("main").equals("news")){%>
	<h1>GRATULACJE!</h1><br>
	Twój news został dodany.<br> Możesz go zobaczyć na stronie głownej.<br> 
	<%}else if(request.getParameter("main")!=null && request.getParameter("main").equals("order") && request.getParameter("id")!=null){%>
	<h1>GRATULACJE!</h1><br>
	Kurier został zamówiony.<br> Numer Twojego zamówienia to: <%out.write(request.getParameter("id")); %><br> 
	<%}else if(request.getParameter("main")!=null && request.getParameter("main").equals("add") && request.getParameter("id")!=null){%>
	<h1>GRATULACJE!</h1><br>
	Paczka została dodana.<br> Numer Twojego zamówienia to: <%out.write(request.getParameter("id")); %><br> 
	<%}else {%>
	<h1>GRATULACJE!</h1><br>
	Twoje konto zostało założone.<br> Możesz się teraz zalogować.
<%}}%>
<br><br>
</div>
</body>
</html>